/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model.entity;

/**
 *
 * @author ToNghiep
 */
public class Product {
    private int productid;
    private int categoryid;
    private int quantity;
    private String productname;
    private double unitcost;
    private double totalamount;
    private String picture;
    private String productdetail;
    private String prodtype;

    public Product() {
    }

    public Product(int productid, int categoryid, int quantity, String productname, double unitcost, double totalamount, String picture, String productdetail, String prodtype) {
        this.productid = productid;
        this.categoryid = categoryid;
        this.quantity = quantity;
        this.productname = productname;
        this.unitcost = unitcost;
        this.totalamount = totalamount;
        this.picture = picture;
        this.productdetail = productdetail;
        this.prodtype = prodtype;
    }

    /**
     * @return the productid
     */
    public int getProductid() {
        return productid;
    }

    /**
     * @param productid the productid to set
     */
    public void setProductid(int productid) {
        this.productid = productid;
    }

    /**
     * @return the categoryid
     */
    public int getCategoryid() {
        return categoryid;
    }

    /**
     * @param categoryid the categoryid to set
     */
    public void setCategoryid(int categoryid) {
        this.categoryid = categoryid;
    }

    /**
     * @return the quantity
     */
    public int getQuantity() {
        return quantity;
    }

    /**
     * @param quantity the quantity to set
     */
    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    /**
     * @return the productname
     */
    public String getProductname() {
        return productname;
    }

    /**
     * @param productname the productname to set
     */
    public void setProductname(String productname) {
        this.productname = productname;
    }

    /**
     * @return the unitcost
     */
    public double getUnitcost() {
        return unitcost;
    }

    /**
     * @param unitcost the unitcost to set
     */
    public void setUnitcost(double unitcost) {
        this.unitcost = unitcost;
    }

    /**
     * @return the totalamount
     */
    public double getTotalamount() {
        return totalamount;
    }

    /**
     * @param totalamount the totalamount to set
     */
    public void setTotalamount(double totalamount) {
        this.totalamount = totalamount;
    }

    /**
     * @return the picture
     */
    public String getPicture() {
        return picture;
    }

    /**
     * @param picture the picture to set
     */
    public void setPicture(String picture) {
        this.picture = picture;
    }

    /**
     * @return the productdetail
     */
    public String getProductdetail() {
        return productdetail;
    }

    /**
     * @param productdetail the productdetail to set
     */
    public void setProductdetail(String productdetail) {
        this.productdetail = productdetail;
    }

    /**
     * @return the prodtype
     */
    public String getProdtype() {
        return prodtype;
    }

    /**
     * @param prodtype the prodtype to set
     */
    public void setProdtype(String prodtype) {
        this.prodtype = prodtype;
    }
    
   
}
